package com.lemon.smartsafety.result.fire;

import java.io.Serializable;
import java.util.List;

/**
 * 项目名称：workspace
 * 类描述：
 * 创建人：Fargo
 * 创建时间：2016/9/14 10:03
 * 修改人：Fargo
 * 修改时间：2016/9/14 10:03
 * 修改备注：
 */
public class DeviceSResult implements Serializable{


    /**
     * itemId : 38177
     * objectId : 232
     * objectTitle : 消防水池
     * position : A1-负1层-中
     * checkValidity : 1
     * unitName : 日
     * lastCheckUserName : 雷虹
     * lastCheckDate : 2016-09-02 16:54:00.0
     * status : 1
     * checkRemark : ["水量情况(符合)","相关部件(符合)","防冻措施(符合)","取水口(符合)"]
     */

    private String itemId;
    private String objectId;
    private String objectTitle;
    private String position;
    private int checkValidity=-1;
    private String unitName;
    private String lastCheckUserName;
    private String lastCheckDate;
    private String status;

    private String remark;
    private String isPatrol;
    /**
     * checkRemark : [{"content":"未检查","markCode":"3"}]
     */

    private List<CheckRemarkEntity> checkRemark;


    public String getIsPatrol() {
        return isPatrol;
    }

    public void setIsPatrol(String isPatrol) {
        this.isPatrol = isPatrol;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getObjectTitle() {
        return objectTitle;
    }

    public void setObjectTitle(String objectTitle) {
        this.objectTitle = objectTitle;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public int getCheckValidity() {
        return checkValidity;
    }

    public void setCheckValidity(int checkValidity) {
        this.checkValidity = checkValidity;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getLastCheckUserName() {
        return lastCheckUserName;
    }

    public void setLastCheckUserName(String lastCheckUserName) {
        this.lastCheckUserName = lastCheckUserName;
    }

    public String getLastCheckDate() {
        return lastCheckDate;
    }

    public void setLastCheckDate(String lastCheckDate) {
        this.lastCheckDate = lastCheckDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setCheckRemark(List<CheckRemarkEntity> checkRemark) {
        this.checkRemark = checkRemark;
    }

    public List<CheckRemarkEntity> getCheckRemark() {
        return checkRemark;
    }


    public static class CheckRemarkEntity {
        /**
         * content : 未检查
         * markCode : 3黄  1绿 2红
         */

        private String content;
        private String markCode;

        public void setContent(String content) {
            this.content = content;
        }

        public void setMarkCode(String markCode) {
            this.markCode = markCode;
        }

        public String getContent() {
            return content;
        }

        public String getMarkCode() {
            return markCode;
        }
    }
}
